package edu.visualizetion.info.dataprocess;

/**
 * 本次实验所采集的数据内容：时间，ip，内存使用率，内存空闲率，网络发送速率，网络接收速率
 * 
 * @author liukun
 *
 */
public class Datapoint {

	private String time;
	private String ip;
	private String cpu;
	private String memUsed;
	private String memFree;
	private String netSendSpeed;
	private String netRecvSpedd;
	private String diskWriteSpeed;
	private String diskReadSpeed;

	

	public Datapoint(String time, String ip, String cpu, String memUsed, String memFree, String netSendSpeed,
			String netRecvSpedd, String diskWriteSpeed, String diskReadSpeed) {
		super();
		this.time = time;
		this.ip = ip;
		this.cpu = cpu;
		this.memUsed = memUsed;
		this.memFree = memFree;
		this.netSendSpeed = netSendSpeed;
		this.netRecvSpedd = netRecvSpedd;
		this.diskWriteSpeed = diskWriteSpeed;
		this.diskReadSpeed = diskReadSpeed;
	}

	public Datapoint() {

	}
	
	public String getDiskWriteSpeed() {
		return diskWriteSpeed;
	}

	public void setDiskWriteSpeed(String diskWriteSpeed) {
		this.diskWriteSpeed = diskWriteSpeed;
	}

	public String getDiskReadSpeed() {
		return diskReadSpeed;
	}

	public void setDiskReadSpeed(String diskReadSpeed) {
		this.diskReadSpeed = diskReadSpeed;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getCpu() {
		return cpu;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public String getMemUsed() {
		return memUsed;
	}

	public void setMemUsed(String memUsed) {
		this.memUsed = memUsed;
	}

	public String getMemFree() {
		return memFree;
	}

	public void setMemFree(String memFree) {
		this.memFree = memFree;
	}

	public String getNetSendSpeed() {
		return netSendSpeed;
	}

	public void setNetSendSpeed(String netSendSpeed) {
		this.netSendSpeed = netSendSpeed;
	}

	public String getNetRecvSpedd() {
		return netRecvSpedd;
	}

	public void setNetRecvSpedd(String netRecvSpedd) {
		this.netRecvSpedd = netRecvSpedd;
	}

	@Override
	public String toString() {
		return "Datapoint [time=" + time + ", ip=" + ip + ", cpu=" + cpu + ", memUsed=" + memUsed + ", memFree="
				+ memFree + ", netSendSpeed=" + netSendSpeed + ", netRecvSpedd=" + netRecvSpedd + ", diskWriteSpeed="
				+ diskWriteSpeed + ", diskReadSpeed=" + diskReadSpeed + "]";
	}

}
